/**
 * 
 */
package com.rio.dandan.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.rio.dandan.dao.UserVideoDao;
import com.rio.dandan.pojo.UserVideo;
import com.rio.dandan.service.UserVideoService;

/**
 * 
 * UserVideoServiceImpl.java
 * 
 * @author 宋陆
 * @version 1.0 2014年5月22日
 */
@Service
public class UserVideoServiceImpl implements UserVideoService {

    @Resource
    private UserVideoDao userVideoDao;

    /**
     * @see com.rio.dandan.service.UserVideoService#getUserVideo(java.lang.String)
     */
    @Override
    public UserVideo getUserVideo(String fileName) {
        return userVideoDao.getUserVideo(fileName);
    }

    /**
     * @see com.rio.dandan.service.UserVideoService#findUserVideo(java.lang.String)
     */
    @Override
    public List<UserVideo> findUserVideo(String uid) {
        return userVideoDao.findUserVideo(uid);
    }

}
